package com.biShe.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 小刘
 * @since 2023-05-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Cost对象", description="")
public class Cost implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "记账日期")
    private String date;

    @ApiModelProperty(value = "记账分类类型")
    @TableField("costTpye_id")
    private Integer costtpyeId;

    @ApiModelProperty(value = "具体描述")
    private String detail;

    private Float amount;

    @ApiModelProperty(value = "收款方")
    private String collect;

    @ApiModelProperty(value = "备注")
    private String mark;

    @ApiModelProperty(value = "记录者")
    @TableField("userId")
    private Integer userid;

    @ApiModelProperty(value = "修改日期")
    private String updateTime;

    @TableLogic
    private Integer deleted;


}
